const webpack = require('webpack')
module.exports = {
  //线上环境
  // outputDir:"dist",
  // assetsDir:"assets",
  // indexPath:"index.html",
  // filenameHashing:true,
  // pages:undefined,
  // lintOnSave:true,
  // runtimeCompiler:true,
  // transpileDependencies:[],
  // productionSourceMap:false,
  // crossorigin:undefined,
  // integrity:false,
  //   publicPath: './', // 设置打包文件相对路径
/////////////////////////////////
    devServer: {
      proxy: {
        '/api': {
          target: 'http://stats.hummerpool.com', //对应自己的接口
          changeOrigin: true,
          ws: true,
          pathRewrite: {
            '^/api': ''
          }
        }
      }
      },
     //bootstrap引入配置
     configureWebpack: {
      plugins: [
        new webpack.ProvidePlugin({
          $: "jquery",
          jQuery: "jquery"
        }),
        
      ]
    },
    
  }